<html>
<head>
<link type="text/css" rel="stylesheet" href="/stylesheets/index.css">
</head>
<body>
<div>
	{% for title in titles %} 
		<a href="/{{title}}"><b>{{title }}</b></a> 
	{% endfor %}
</div>
<div>
	{% for video in videos %} 
		<b>{{video.name}}</b>
		<img src='img?img_id={{video.key}}'></img>
		<br/>
	{% endfor %}
</div>

<form action="/addvideo" enctype="multipart/form-data" method="post">
<table>
	<tr>
		<td>Name</td>
		<td><input type="text" name="name" /></td>
	</tr>
	<tr>
		<td>Video Link</td>
		<td><input type="text" name="link" /></td>
	</tr>
	<tr>
		<td>Description</td>
		<td><input type="text" name="desc" /></td>
	</tr>
	<tr>
		<td>Cover</td>
		<td><input type="file" name="cover" value="Add Cover"/></td>
	</tr>
</table>
<div><input type="submit" value="Add Video"></div>
</form>
</body>
</html>